package cn.karent.common;

import jakarta.validation.constraints.NotBlank;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.validation.annotation.Validated;

/**
 * @author wanshengdao
 * @date 2025/3/23
 */
@Getter
@Setter
@Validated
@Configuration
@ConfigurationProperties(prefix = "rocketmq")
public class RocketMQConfig {

    @NotBlank(message = "rmq的地址不能为空")
    private String endpoints;

}
